#ifndef SYSTEMCALL_H
#define SYSTEMCALL_H

#include <QSysInfo>
#include <QString>

enum SystemKind
{
    Windows,
    Centos,
    Debian,
    Linux
};

class SystemController
{
public:
    static SystemKind GetSystemType()
    {
        QString SystemName = QSysInfo::productType();

        if(SystemName == "windows")
        {
            return Windows;
        }
        else
        {
            return Linux;
        }
    }
};

#endif // SYSTEMCALL_H
